export function useOnce() {
  let once = 0
  function initOnce() {
    once = 0
  }
  function onceUpdate() {
    once += 1
    if (once > 1) {
      return true
    } else {
      return false
    }
  }

  return {
    initOnce,
    onceUpdate,
  }
}
